![]() |
DeltaPoint |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Subtracts the coordinates of one point from another.
SInt32 DeltaPoint ( Point ptA, Point ptB );
A point, from whose coordinates are to be subtracted those that you specify in the ptB parameter.
A point, the coordinates of which are to be subtracted from those you specify in the ptA parameter.
The result of subtracting the coordinates of the point you specify in the ptB parameter from the coordinates of the point specify in the ptA parameter.
To get the results of coordinate subtraction, you can instead use the SubPt function. Note, however, that the parameters in these two functions are reversed.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)